package com.cipe.cmrs.model;

import java.util.List;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * <p>
 * Pojo mapping TABLE dbo.DonorAwardStatus
 * </p>
 * 
 * <p>
 * Generated at Sat Dec 03 14:39:43 PKT 2011
 * </p>
 * 
 * @author Incepio
 * 
 */
@Entity
@Table(name = "donorawardstatus")
@SuppressWarnings("serial")
public class Donorawardstatus extends BaseAuditEntity {

	/**
	 * Attribute deleted.
	 */
	@Transient
	private String				deleted;
	/**
	 * Attribute description.
	 */
	@Transient
	private String				description;
	/**
	 * Attribute displayName.
	 * 
	 */
	@Basic
	@Column(name = "statusname", length = 100)
	private String				displayName;
	/**
	 * List of Donoraward
	 */
	@OneToMany(mappedBy = "donorawardstatus")
	private List<Donoraward>	donorawards	= null;

	/**
	 * @return deleted
	 */
	public String getDeleted() {
		return deleted;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @return the displayName
	 */
	public String getDisplayName() {
		return displayName;
	}

	/**
	 * Get the list of Donoraward
	 */
	public List<Donoraward> getDonorawards() {
		return this.donorawards;
	}

	/**
	 * @param deleted
	 *            new value for deleted
	 */
	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @param displayName the displayName to set
	 */
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	/**
	 * Set the list of Donoraward
	 */
	public void setDonorawards(List<Donoraward> donorawards) {
		this.donorawards = donorawards;
	}
}